package option;

import Book.BookList;
import Book.Book;
public class Show implements MY{
    @Override
    public void work(BookList booklist) {
        System.out.println("打印图书");
        int size=booklist.getUsedSize();
        for(int i=0;i<size;i++){
            Book book=booklist.getBooks(i);
            System.out.println(book);
        }
    }
}
